virtualisation.oci-containers.containers.<name>.volumes
List of volumes to attach to this container.
Note that this is a list of "src:dst" strings to
allow for src to refer to /nix/store paths, which
would be difficult with an attribute set. There are
also a variety of mount options available as a third
field; please refer to the
docker engine documentation for details.
- Type
list of string- Default
[ ]- Example
[ "volume_name:/path/inside/container" "/path/on/host:/path/inside/container" ]- Declared
- <nixpkgs/nixos/modules/virtualisation/oci-containers.nix>